172281475dcdbbd764cc23191594419c1f0005c2,VUE2/src/tufts/vue/NotePanel.java,NotePanel,setTypeName,#JComponent#LWComponent#String#,98

Before Change


        load(c);
    }
    private static void setTypeName(JComponent component, LWComponent c, String suffix) {
        component.setName(c.getComponentTypeLabel() + " " + suffix);
    }
    
    public void attach(LWComponent c) {

After Change


        if (c instanceof LWSlide && c.isPathwayOwned())
            type = "Pathway";
        else
            type = c.getComponentTypeLabel();
        
        component.setName(type + " " + suffix);
    }